<template>
    <div class="news-box">
      <div class="title-box tc">
        <el-tag>黄金</el-tag>
        <el-tag type="success">房地产</el-tag>
        <el-tag type="info">标签三</el-tag>
        <el-tag type="warning">标签四</el-tag>
        <el-tag type="danger">标签五</el-tag>
      </div>
      <div class="echart-box">
        <div id="echart1"></div>
      </div>
    </div>
</template>

<script>
    import echartUtil from '../utils/echartUtil';
    export default {
        name: "news",
        mounted(){
          echartUtil.myChart('echart1','test');
        }
    }
</script>

<style scoped>
#echart1 {
  width: 100%;
  height: 600px;
}
</style>
